home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update20.zoo / gdb / fake / diffs
Encoding:
Text File  |  1992-04-19  |  1.3 KB  |  54 lines

  1. *** 1.2    1991/06/24 00:18:27
  2. --- read.c    1992/04/19 16:33:49
  3. ***************
  4. *** 31,37 ****
  5.   #endif
  6.   
  7.   #define    iswhite(c)    ((c) == ' ' || (c) == '\t')
  8. ! #define    isvisable(c)    ((c) >= ' ' && (c) < 0x7f)
  9.   #define    echochar(fd, c)    if (__ttymode & ECHO) (void) _echochar(fd, c); else
  10.   #define    delchar(fd, n)    if (__ttymode & ECHO) _delchar(fd, n); else
  11.   
  12. --- 31,37 ----
  13.   #endif
  14.   
  15.   #define    iswhite(c)    ((c) == ' ' || (c) == '\t')
  16. ! #define    isvisable(c)    ((unsigned char)(c) >= ' ')
  17.   #define    echochar(fd, c)    if (__ttymode & ECHO) (void) _echochar(fd, c); else
  18.   #define    delchar(fd, n)    if (__ttymode & ECHO) _delchar(fd, n); else
  19.   
  20. ***************
  21. *** 297,303 ****
  22.       int    len = 0;
  23.       char    c = thebuf[n];
  24.   
  25. !     if (c > 0 && c < ' ' || c == 0x7f) {
  26.           if (c == '\t')
  27.               len = __col_pos - str_length(thebuf, n);
  28.           else
  29. --- 297,303 ----
  30.       int    len = 0;
  31.       char    c = thebuf[n];
  32.   
  33. !     if ((c >= 0 && c < ' ') || c == 0x7f) {
  34.           if (c == '\t')
  35.               len = __col_pos - str_length(thebuf, n);
  36.           else
  37. ***************
  38. *** 322,328 ****
  39.   
  40.       while (n--) {
  41.           c = *p++;
  42. !         if (c > 0 && c < ' ' || c == 0x7f)
  43.               if (c == '\t')
  44.                   pos = (pos | 7) + 1;
  45.               else
  46. --- 322,328 ----
  47.   
  48.       while (n--) {
  49.           c = *p++;
  50. !         if ((c >= 0 && c < ' ') || c == 0x7f)
  51.               if (c == '\t')
  52.                   pos = (pos | 7) + 1;
  53.               else
  54.